package DeanUI;
import javax.swing.*;
import java.awt.*;

public class MyDrawPanel extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void paintComponent(Graphics g){
		Image image=new ImageIcon("picture//tb.jpg").getImage();
		g.drawImage(image,0,0,this);
	}

}
